package com.yh.yhojcodesandbox.security;

import java.security.Permission;

/**
 * 默认安全管理器
 *
 * @author Yh
 */
public class DefaultSecurityManager extends SecurityManager {

    // 检查所有权限
    @Override
    public void checkPermission(Permission perm) {
        System.out.println("默认不做任何安全管理");
        System.out.println(perm);
        //super.checkPermission(perm);
    }


}
